package com.zlsy.springbootdemo.chainofresponsibility.mtdemo2.rule;

import com.zlsy.springbootdemo.chainofresponsibility.mtdemo2.BasicRule;
import com.zlsy.springbootdemo.chainofresponsibility.mtdemo2.context.UserPortraitRuleContext;
import com.zlsy.springbootdemo.chainofresponsibility.mtdemo2.context.UserPortrait;
import org.springframework.stereotype.Component;

/**
 * @author zhouliang
 * @date 2021/1/23 15:23
 * 【规则3：判断当前用户是否在投放城市，具体逻辑省略】
 */
@Component
public class CityInfoRule extends BasicRule<UserPortrait, UserPortraitRuleContext> {
    @Override
    public boolean evaluate(UserPortraitRuleContext context) {
        return false;
    }

    @Override
    public void execute(UserPortraitRuleContext context) {

    }
}
